package com.lenovo.flutter_with_bmap.entity;
import com.baidu.mapapi.map.Marker;

public class CacheData {
    private Vehicle participant;
    private Marker marker;
    private long timeStamp;
    public CacheData(Vehicle participant,Marker marker,long timeStamp){
        this.participant = participant;
        this.marker = marker;
        this.timeStamp = timeStamp;
    }
    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public Marker getMarker() {
        return marker;
    }

    public void setMarker(Marker marker) {
        this.marker = marker;
    }

    public Vehicle getData() {
        return participant;
    }

    public void setData(Vehicle data) {
        this.participant = data;
    }
}
